package pack21;

class A14a
{
A14a()
{
	System.out.println("dc of superclass");
}
static{
	System.out.println("static block of super class");
}
{
	System.out.println("instance block of super class");
}
}
class A14b extends A14a
{
A14b()
{
	System.out.println("dc of subclass");
}
static{
	System.out.println("static block of sub class");
}
{
	System.out.println("instance block of sub class");
}

}
public class Program14 {
public static void main(String[] args) {
	
//A14a ref1=new A14a();
A14b ref2=new A14b();
	}

}
